difference between splice and slice